-- GENERATED SPELL FOR [Unyielding Constrictor] --


function spell0_29768(pUnit, Event) --@Vicious Bite,n/a--
pUnit:FullCastSpellOnTarget(55602,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29768', 614, 1)
end

function spell1_29768(pUnit, Event) --@Vicious Bite,n/a--
pUnit:FullCastSpellOnTarget(59021,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29768', 614, 1)
end

function Sorts_29768(pUnit, Event)
local choix_sorts_29768 = math.random(0, 1)
if choix_sorts_29768 == 0 then
pUnit:RegisterEvent('spell0_29768', 1, 1)
end
if choix_sorts_29768 == 1 then
pUnit:RegisterEvent('spell1_29768', 1, 1)
end
end

function mob29768_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29768', math.random(1500, 3000), 1)
end

function mob29768_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29768_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29768_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29768, 1, 'mob29768_Action')
RegisterUnitEvent(29768, 2, 'mob29768_Leave')
RegisterUnitEvent(29768, 3, 'mob29768_Kill')
RegisterUnitEvent(29768, 4, 'mob29768_Die')
